<?php
foreach($this->result as $row){ 
    $imgs = glob('public/upload/procedimento/'.$row['PRC_ID'].'_lst.*');
    $img = $imgs[0];
?>
<li>
    <a href="<?php echo $this->urlbase.'/procedimentos/detalhe/id/'.$row['PRC_ID'] ?>">
        <div class="bnr" style="background-image: url('<?php echo $img ?>');">
            <div class="pri">
                <div class="btncirc">
                    <span class="circ">
                        <span class="txt">
                            <?php echo $row['PRC_NOM']; ?>
                        </span>
                    </span>
                </div>
            </div>
            <div class="seg">
                <div class="borda">
                    <div class="botao"></div>
                    <span>Saiba Mais</span> 
                </div>               
            </div>
        </div>
    </a>
</li>
 <?php } ?> 
